package com.allwees.bs.module.sys.service.impl;

import com.allwees.bs.module.base.service.impl.BoServiceImpl;
import com.allwees.bs.module.sys.dao.SysParamDao;
import com.allwees.bs.module.sys.entity.SysParam;
import com.allwees.bs.module.sys.service.SysParamService;
import org.springframework.stereotype.Service;

/**
 *
 *
 * @author yangylsky
 * @since 2019-04-13
 */
@Service
public class SysParamServiceImpl extends BoServiceImpl<SysParamDao, SysParam> implements SysParamService {
	@Override
	public String getParam(String name) {
		SysParam param = findUniqueByField("name", name);
		return param == null ? null : param.getValue();
	}
}
